export interface TeacherParams {
  pageSize: number
  pageNum: number
  name?: string
}

export interface TeacherItem {
  id: string
  name: string
  gradeName: string
  gradeId: number
  avatar: [{ [url: string]: any }
  realmName: string
  realmId: number
  address: string
  brief: string
}

export interface TeacherResponse {
  list: TeacherItem[]
  total: number
}

export interface GradeParams {
  pageSize: number
  pageNum: number
  name?: string
}

export interface GradeItem {
  id: string
  name: string
}

export interface GradeResponse {
  list: GradeItem[]
  total: number
}

export interface RealmParams {
  pageSize: number
  pageNum: number
  name?: string
}

export interface RealmItem {
  id: string
  name: string
}

export interface RealmResponse {
  list: RealmItem[]
  total: number
}
